package com.jiangyao.model.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@ApiModel(value="公开课课程列表")
public class PublicSubjectListVo implements Serializable {
    private static final long serialVersionUID=1L;

    @ApiModelProperty("课程id")
    private  Integer subjectId;

    @ApiModelProperty("课程名称")
    private  String subjectName;

    @ApiModelProperty("课程分类ID")
    private  Integer categoryId;

    @ApiModelProperty("课程分类名称")
    private  String categoryName;

    @ApiModelProperty("课程简介")
    private String subjectDesc;

    @ApiModelProperty("课程封面")
    private String cover;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("封面 全路径")
    private String coverFull;

    @ApiModelProperty("点赞数")
    private Integer likeNum=0;

    @ApiModelProperty("观看次数")
    private Integer viewNum=0;

    @ApiModelProperty("学习人数")
    private Integer learnNum=0;




}
